#ifndef __WHITECHESS_H__
#define __WHITECHESS_H__

#include "../VT100/VT100.hpp"
#include "Chess.hpp"

/**
 * @brief 白色棋子
 *
 */
class WhiteChess : public Chess {
public:
  WhiteChess(unsigned int displayPositionX, unsigned int displayPositionY)
      : Chess(displayPositionX, displayPositionY, 2) {}

  virtual ~WhiteChess() {}
  void chessDisplay(void) {
    VT100::VT100SetColors(BG_WHITE, FG_BLACK);
    VT100::VT100SetTheCursor(getDisplayPositionX(), getDisplayPositionY());
    std::cout << "\u25CB ";
    VT100::VT100SetTheCursor(getDisplayPositionX(), getDisplayPositionY());
    VT100::VT100ClearTheConfiguration();
  }
};

#endif // __WHITECHESS_H__